package org.oexam.ostudy.struct;

import javax.persistence.Entity;
import javax.persistence.Id;

@Entity

public class Students {
	
	@Id 
	private int student_id; // Primary Key.
	private String first_name; 
	private String last_name;
	private String address;
	private int user_id; // Foreing key referring to Users table;
	private String phone;
	private String email;
	private int teacher_responsible;
	
	public int getStudent_id() {
		return student_id;
	}
	public void setStudent_id(int student_id) {
		this.student_id = student_id;
	}
	public int getTeacher_responsible() {
		return teacher_responsible;
	}
	public void setTeacher_responsible(int teacher_responsible) {
		this.teacher_responsible = teacher_responsible;
	}
	public String getFirst_name() {
		return first_name;
	}
	public void setFirst_name(String first_name) {
		this.first_name = first_name;
	}
	public String getLast_name() {
		return last_name;
	}
	public void setLast_name(String last_name) {
		this.last_name = last_name;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public int getUser_id() {
		return user_id;
	}
	public void setUser_id(int user_id) {
		this.user_id = user_id;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	
	

}
